package com.example.renshiguanli.service.impl;

import com.example.renshiguanli.mapper.AppraiseMapper;
import com.example.renshiguanli.pojo.Appraise;
import com.example.renshiguanli.service.AppraiseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AppraiseServiceImpl implements AppraiseService {
    @Autowired
    private AppraiseMapper appraiseMapper;
    @Override
    public List<Appraise> findAll() {
        return appraiseMapper.findAll();
    }

    @Override
    public List<Appraise> query(String name) {
        return appraiseMapper.query(name);
    }
}
